<!DOCTYPE html>
<html lang="zh-cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div th:include="includeJs::layui_js"></div>
    <div th:include="includeJs::bootstrap_js"></div>
</head>
<body>
<div  id="windowsannex"  style="margin-left: 5%;">
    <form id="annexform" class="layui-form" th:action="@{/admin/updinterset}" style="margin-right: 100px;margin-top: 35px;" method="post" enctype="multipart/form-data">
        <div class="layui-form-item">
            <input type="hidden"  name="tId" th:value="${intset.tId}"/>
            <label style="width:100px" class="layui-form-label">借贷名称:</label>
            <div  class="layui-input-block">
                <input  autocomplete="off" th:value="${intset.type}" placeholder="请输入借贷名称" maxlength="20" id="annexName" type="text" name="type" class="layui-input"  lay-verify="required"/>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label style="width: 100px" class="layui-form-label">利率(%):</label>
            <div class="layui-input-block">
                <input  type="number" step="0.01" th:value="${intset.yearInterset}" class="form-control" name="yearInterset">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <center>
                    <button type="submit" onclick="flush()" class="layui-btn" lay-submit lay-filter="annexAction" >提交</button>
                </center>
            </div>
        </div>
    </form>
    </div>
</body>
<script>
    function flush() {
        window.close();
        parent.location.reload();
    }
</script>
</html>